const shareDataKey= 'shareDataKey'

export function setShareDataStorage(data:any){
  wx.setStorageSync(shareDataKey,data)
}

export function getShareDataStorage():any{
  return wx.getStorageSync(shareDataKey)
}

export function removeShareDataStorage(){
  wx.removeStorageSync(shareDataKey)
}

module.exports = {
  setShareDataStorage,
  getShareDataStorage,
  removeShareDataStorage
}